<template>
  <div>
    {{ $store.state.count }}
  </div>
</template>

<script setup>
import { useCounter } from '@/stores'
const store = useCounter()
console.log(store)
// store.increment()
// store.$patch({ count: store.count + 1 })
// console.log(store.count)
</script>
<style
  lang="scss"
  scoped
></style>
